SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0cb17f9ec99c32a631deb0b293dc8aa101abff3f2d183f1a4c635c6f3f25a7b1' 
  AND token = 'dYjqBm6wZYCGiVvOua4ThMpPyHMq/Na/mY1DdGCbwv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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