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

Query time 0.00017

JSON explain

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