SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040e8806c19b1d70018dec6be300d9fc8d8e4ac1b28dda2e4358168278d9c31e' 
  AND token = 'BstYLUvBdRgeLVyoQeOZ/iRZWpUlm7zxLip+oon6yic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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