SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a7443b9ecb36e6a755f5c0df8894524952c73b67ce978039e2567c970d56343' 
  AND token = 'LlfT0puxPmp/RgeWVHttT5gL72fLD9e7DJpy2o2ixas=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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