SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c18a0dc339053431f73008de181c32e4aaa2e8924553906818ae1698b779d734' 
  AND token = 'fYAd+6fkfVIERnL1Ds+JqNghFfNMs5AuMSt3hd9AGD4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}