SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f040bb051dfb8d448838cd61f6605c04509c61f289cabc908f87b5f503ae32d0' 
  AND token = '4hPpBB+lvklWruFFKgo8almrAjEm+YVlgZZwNe4KNI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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