SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1d64f578a711e27afc42769856acd408a8a8166d69d153276eba5f455bc95ed' 
  AND token = 'nq46/rf7k8NvyviVTs6d4qOh8fJQhVpuhaWef999QQA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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