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

Query time 0.00050

JSON explain

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