SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7ed30821f605f7bd2521089b2ff19b7c254868d9e5cd12051d75aec35e9f1db' 
  AND token = '65+T52jfyQuoEo5m5rFZ4+Z5oRMIjI/IIhEnIbVkXbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00073

JSON explain

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