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

Query time 0.00057

JSON explain

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