SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '140f7f4ba6929dd071649cd0af3c1efa01cc90ec6e29c6448b6407f426231a58' 
  AND token = 'AK/2pJwJX1mC3d+9L3qAeeYdOO4llnJAgifRaODOi34=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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