SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca7052008c7fcc46bc6efc3a63cc9dbe7166d8f3c4b7ecee0aca077d248ced7f' 
  AND token = 'DUN3yIlvUFWvVkUCjgU3ubvtwapEJmf780k+kT7IYfU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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