SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2cd8e909e157c552a9ed50c07679a43583987e31bbd89067fe310406df3396a' 
  AND token = 'BBx9T8sFpHJxgfMo/VoWUQvz7Y4egnaflHC0v49PUSA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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