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

Query time 0.00044

JSON explain

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