SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed41fab815c5a1297d228d020bdd3b8bd8d8b22780896cec0a50cbb875faaceb' 
  AND token = 'q07p4dE99KT7+7DQKzfTud9fy1dubfJ+Ar9mkLnwE7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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