SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5ae69789e711370d7b024349201f00f660f344bffd1feca36caf558320af0c9' 
  AND token = 'P5OReyZ35GwiSpGrRdgz3nDXg00C9cWJ63JeCVRgCI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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