SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1badea4124a7de51c271632917e64032ae76b91adfe8a196b0f43f35a1bf1059' 
  AND token = 'TNk243aMIZW3hgLmUfD+trIHVb1ZRZlyBieKBZIx/Ns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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