SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f38e4f9b67290789557ebc19aa43203e327eb7592f1750776153a780c79ead78' 
  AND token = 'BKS3MerA+XaoLpVl+HKUe7iwQxtjYckDrDDX3Wqu2ao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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