SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8eaa5b6c8261ee65e0cd15f82b822101840923271862eec54cf217a9689ec61a' 
  AND token = 'ZCjA0xUh/9DVKEZqPyaCMsTJ08Jt0E2k4Qqf75Pn3gQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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