SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5170e6a35fd5d5af0e6b88c3227b421652f61a28ed3761be8302e03aec2fcfc0' 
  AND token = 'dMFYCtToNRZNUf/y2JMOBYYbrsQaacOdBNH6d4E+fLc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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