SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8edb4b8e4744621d7fadaca609c98930a4c8d21ea4af9c48db702b30eb6cf53d' 
  AND token = 'yiYJAOd+tr2a8WYbXP+fkTf3TcYJNtNGVSNqWcvijyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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