SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b796fa7e900897398454cd4a4c91ad26a3a0fb4ea381de88434d538829a95764' 
  AND token = 'iXiluyIpdrRUxD6Sapj/yJmbQeNNtPEFkU5xLUw1fms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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