SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9dcb256639b55bc8555635717fc65c4d271389e49b02506d3435c1130693b334' 
  AND token = 'PLvZTVU6E11iXCpKEp3lCI2k/pvnDAqAZTjSPMTSXXs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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