SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38c95a720ff607dee31e7e1e61dd0e42d8b38b627017135e26a5309028cff5f3' 
  AND token = 'lD5Ccam54eiSg3HuL5FwsgD486K9PfuVSCkR1O5mMs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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