SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d151705f6b1e8c5af34fac6b97488e52392b3167d0acfa879c70227e641f487' 
  AND token = 'rph6tH06socNlpN372AmtNc6YHcEIAFVC3cnPxclYiw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00079

JSON explain

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