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

Query time 0.00027

JSON explain

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