SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b97b12e3903806ab347ea4254ef9aede5ded751916914613f95108390b3edbe' 
  AND token = 'C5/99Hui2H0d5v9rJSXZFU2TYdAB6jGxBo80w0pLvwA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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