SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '875f49a3aa4a1fd05a56c7d95b0430b88abbf29031c446e17a6760ab0141cc06' 
  AND token = 'omDXTNNrcI3JbeIWmcZ5bMcJj4Lpp4K3Vb2BhQX+lsk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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