SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a9f8109253441a4a74ec22b9e1d12e573d1b6fe20e8ec317ea6f638c3485868' 
  AND token = 'SiDBJcEkFoFBzsOW5cXQ3jGGG6CbUV3bm26Lvr891/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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